//
//  AccountInfoController.h
//  weizhuan
//
//  Created by lixun on 13-8-2.
//  Copyright (c) 2013年 lixun. All rights reserved.
//

//#import <Foundation/Foundation.h>

//account state
#define kAccountStateUnLogin      0
#define kAccountStateLogin        1

#define kAutoLogin      @"autoLogin"
#define kPUid           @"uid" //
#define kPNickName      @"nickname"//昵称
#define kPUserName      @"username"//用户名
#define kPRealName      @"fullname"//姓名
#define KPSex           @"sex"//性别
#define KPTime_lastUpdate @"time_lastupdate"//个人信息最后一次更新时间
#define TOKEN @"token"



@interface AccountController : NSObject

+ (BOOL)isLogin;
+ (BOOL)getAccountState;
+ (void)setAccountState:(int)inState;
+ (NSDictionary*)getAccountInfo;
+ (void)setAccountInfo:(NSDictionary*)inAccountInfo;
+ (BOOL)autoLogin:(NSDictionary*)inAccountInfo;
+ (void)logout;

@end
